home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / samba.idb / usr / samba / src / packaging / redhat / RH50 / samba-make.patch.z / samba-make.patch
Encoding:
Text File  |  1998-10-28  |  2.4 KB  |  75 lines

  1. --- samba-1.9.18p6/source/Makefile.orig    Mon May 11 20:04:42 1998
  2. +++ samba-1.9.18p6/source/Makefile    Mon May 11 20:57:10 1998
  3. @@ -5,11 +5,11 @@
  4.  ###########################################################################
  5.  
  6.  # The base directory for all samba files
  7. -BASEDIR = /usr/local/samba
  8. +BASEDIR = /usr
  9.  
  10.  # The base manpages directory to put the man pages in
  11.  # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist.
  12. -MANDIR = /usr/local/man
  13. +MANDIR = /usr/man
  14.  
  15.  # The directories to put things in. If you use multiple
  16.  # architectures or share the samba binaries across NFS then
  17. @@ -18,9 +18,9 @@
  18.  #       normally only applies to nmbd and smbd
  19.  #       SBINDIR implies a secure binary directory
  20.  BINDIR = $(BASEDIR)/bin
  21. -SBINDIR = $(BASEDIR)/bin
  22. -LIBDIR = $(BASEDIR)/lib
  23. -VARDIR = $(BASEDIR)/var
  24. +SBINDIR = $(BASEDIR)/sbin
  25. +LIBDIR = /etc
  26. +VARDIR = /var/log/samba
  27.  
  28.  # The permissions to give the executables
  29.  INSTALLPERMS = 0755
  30. @@ -32,7 +32,7 @@
  31.  
  32.  # You will need to use a ANSI C compiler. This means under SunOS 4 you can't 
  33.  # use cc, instead you will have to use gcc. 
  34. -# CC = gcc
  35. +CC = gcc
  36.  
  37.  # This may help with some versions of make
  38.  SHELL = /bin/sh
  39. @@ -51,11 +51,11 @@
  40.  LMHOSTSFILE = $(LIBDIR)/lmhosts
  41.  DRIVERFILE = $(LIBDIR)/printers.def
  42.  SMB_PASSWD = $(BINDIR)/smbpasswd
  43. -SMB_PASSWD_FILE = $(BASEDIR)/private/smbpasswd
  44. +SMB_PASSWD_FILE = $(LIBDIR)/smbpasswd
  45.  WEB_ROOT = $(BASEDIR)
  46.  
  47.  # the directory where lock files go
  48. -LOCKDIR = $(VARDIR)/locks
  49. +LOCKDIR = /var/lock/samba
  50.  
  51.  # The directory where code page definition files go
  52.  CODEPAGEDIR = $(LIBDIR)/codepages
  53. @@ -90,8 +90,8 @@
  54.  
  55.  # This is for PAM authentication. RedHat Linux uses PAM.
  56.  # If you use PAM, then uncomment the following lines:
  57. -# PAM_FLAGS = -DUSE_PAM
  58. -# PAM_LIBS = -ldl -lpam
  59. +PAM_FLAGS = -DUSE_PAM
  60. +PAM_LIBS = -ldl -lpam
  61.  
  62.  # This is for AFS authentication.  If you use AFS then set AFS_BASE 
  63.  # according to your system layout, and uncomment the other lines as well.
  64. @@ -242,8 +242,8 @@
  65.  
  66.  # Use this for Linux with glibc2 (libc6) - RedHat Linux v5.0 with PAM
  67.  # contributed by John H Terpstra <jht@aquasoft.com.au>
  68. -# FLAGSM = -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2
  69. -# LIBSM = -lnsl -lcrypt
  70. +FLAGSM = -DLINUX -DNETGROUP -DALLOW_CHANGE_PASSWORD -DFAST_SHARE_MODES -DNO_ASMSIGNALH -DGLIBC2
  71. +LIBSM = -lnsl -lcrypt
  72.  
  73.  # This is for SUNOS5.4 and later (also known as Solaris 2.4 and later)
  74.  # contributed by Andrew.Tridgell@anu.edu.au
  75.